<template>
  <div class="session-feature">
    <div class="session-list boder-sty">
      <el-form :model="form" label-width="120px" :inline="true">
        <el-form-item label="预报降雨类型" prop="watershedId">
          <el-select v-model="form.watershedId" multiple placeholder="请选择" filterable>
            <el-option
              :key="index + item"
              v-for="(item, index) in zoneList"
              :value="item.id"
              :label="item.name"
            />
          </el-select>
        </el-form-item>
      </el-form>
      <el-table :data="[]" border style="width: 100%">
        <el-table-column align="center" label="单选" width="60">
          <template #default="scope">
            <el-radio v-model="scRadio" :label="scope.row.id">{{ '' }}</el-radio>
          </template>
        </el-table-column>
        <el-table-column prop="scName" label="场次名称" align="center" />
      </el-table>
    </div>
    <div class="feature-list boder-sty">
      <div class="title-span">
        <span>场次特征值</span>
        <span>放大按钮</span>
      </div>
      <el-table :data="[]" border style="width: 100%">
        <el-table-column align="center" label="单选" width="60">
          <template #default="scope">
            <el-radio v-model="scRadio" :label="scope.row.id">{{ '' }}</el-radio>
          </template>
        </el-table-column>
        <el-table-column prop="scName" label="场次名称" align="center" />
      </el-table>
    </div>
  </div>
</template>

<script setup>
import { ref } from 'vue'
const zoneList = ref([])
const form = ref({
  watershedId: ''
})
</script>

<style lang="less" scoped>
.session-feature {
  display: flex;
  height: 100%;
  .boder-sty {
    height: 100%;
    border: 1px solid #149bd5;
    // padding-top: 5px;
    border-radius: 5px;
    box-sizing: border-box;
    .el-form-item {
      margin: 0;
    }
    .title-span {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 0 10px 0 20px;
      height: 50px;
      font-size: 16px;
      font-weight: 600;
    }
  }
  .session-list {
    width: 600px;
    .el-form {
      display: flex;
      align-items: center;
      height: 50px;
    }
  }
  .feature-list {
    width: calc(100% - 610px);
    margin-left: 10px;
  }
  .el-table {
    height: calc(100% - 50px);
    border-radius: 0 0 5px 5px;
  }
}
</style>
